﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="nap_tien.ascx.cs" Inherits="eDream.admin.nap_tien" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>

<div style="margin-top: 20px">

    <dx:ASPxGridView ID="grvNaptien" runat="server" AutoGenerateColumns="False" OnLoad="grvNaptien_Load">
        <Columns>
            <dx:GridViewDataTextColumn Caption="Tài khoản" FieldName="UserName" VisibleIndex="0">
                <HeaderStyle Wrap="True" />
                <CellStyle Wrap="True"></CellStyle>
                <DataItemTemplate>
                    <a href='/Canhan.aspx?page=Lich-su-nap-tien&&k=<%#Eval("ID")%>'><%#Eval("UserName") %></a>
                </DataItemTemplate>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Họ và chữ lót" FieldName="Lastname" VisibleIndex="1">
                <HeaderStyle Wrap="True" />
                <CellStyle Wrap="True"></CellStyle>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Tên" FieldName="FirtName" VisibleIndex="2">
                <HeaderStyle Wrap="True" />
                <CellStyle Wrap="True"></CellStyle>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Email" FieldName="email" VisibleIndex="3">
                <HeaderStyle Wrap="True" />
                <CellStyle Wrap="True"></CellStyle>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Điện thoại" FieldName="phone" VisibleIndex="4">
                <HeaderStyle Wrap="True" />
                <CellStyle Wrap="True"></CellStyle>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Tiền đã đóng" FieldName="money" VisibleIndex="5">
                <HeaderStyle Wrap="True" />
                <CellStyle Wrap="True"></CellStyle>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Người giới thiệu" FieldName="nguoigioithieu" VisibleIndex="6">
                <HeaderStyle Wrap="True" />
                <CellStyle Wrap="True"></CellStyle>
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="Người tư vấn" FieldName="TuvanName" VisibleIndex="7">
                <HeaderStyle Wrap="True" />
                <CellStyle Wrap="True"></CellStyle>
            </dx:GridViewDataTextColumn>
        </Columns>
        <Settings ShowFilterRow="false" ShowGroupedColumns="true" />
        <SettingsBehavior AllowSort="false" />
        <SettingsPager Mode="ShowAllRecords"></SettingsPager>
    </dx:ASPxGridView>
    
</div>